<?PHP

rp ($content_category->data);
$table='content_category';
$id='id';
$catch='name';
include 'm/content/p_category.php';
$content_type=new content_type;
$content_category=new content_category;
$content_category->get_category();
printformheader('Content Category',$_GET['cmd']);
begin_form($_GET['cmd'],$id);
p_input('name',$o,$e);

p_select('type',$content_type->data,$e,'1','1',$o);

$enum_data=get_enum($table,'status');
p_select('status',$enum_data,$e,'0','1',$o);

$enum_data=get_enum($table,'menu');
p_select('menu',$enum_data,$e,'0','1',$o);

$o['none']=TRUE;
p_select('parent',$content_category->data,$e,'0','2',$o);
p_input('weight',$o,$e);

	
			
p_input('page',$o,$e);
p_text('description',$o,$e);
include 'b_c_content_image.php';

?>


	<h2>Styling Options</h2>
<?PHP
p_input('serial_style_background_image',$o,$e);
p_input('serial_style_masthead_color',$o,$e);
p_input('serial_style_background_color',$o,$e);


?>
<?PHP
printsubmit("Save");
if($_GET['cmd']=='edit')
{
	delete_item();
}
end_form($_GET['cmd']);

printformfooter(NULL,NULL,NULL,NULL,NULL,NULL);


?>